package com.suarte.core.dao;

import com.suarte.core.Product;
import com.suarte.core.Resolution;
import com.suarte.core.WorkType;
import org.appfuse.dao.GenericDao;

import java.util.List;

/**
 * @date   Jan 10th, 2011
 * @author Ggutierrez
 */
public interface ProductDao extends GenericDao<Product, Long>  {

    public List<Product> findByDescription(String description);
    public List<Product> findByCode(String code);
    public List<Product> findProducts(String code, String description, Resolution resolution, WorkType workType);
}
